package com.socialbank.web.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.socialbank.web.FinanceBean.BankInsurance;

public interface BankInsuranceMapper {
	public void save(BankInsurance bankInsurance);
	public void deleteById(int id);
	public List<BankInsurance> getList(BankInsurance bankInsurance);
	public List<BankInsurance> getListAll(int deptId);
	public BankInsurance findById(int id);
	public void updateById(BankInsurance bankInsurance);
	public List<BankInsurance> getListByTypes(@Param(value = "deptId") String deptId,@Param(value = "types") List<String> types);
}
